﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="FlexyUpload.ascx.cs" Inherits="Web.Control.Item.FlexyUpload" %>



<dx:aspxgridview id="dxGridView" runat="server" autogeneratecolumns="False" datasourceid="xmlDSFiles" keyfieldname="ID" ondatabound="dxGridView_DataBound" clientinstancename="dxUpload" oncustomcallback="dxGridView_CustomCallback">
    <clientsideevents rowclick="function(s, e) {
	        
            var cellIndex = e.htmlEvent.srcElement.cellIndex;
            if(cellIndex == 1)
                s.PerformCallback(e.visibleIndex);
        }" />
    <Columns>
                <dx:GridViewCommandColumn ShowSelectCheckbox="True" VisibleIndex="0">
                </dx:GridViewCommandColumn>
                <dx:GridViewDataColumn FieldName="FileName" VisibleIndex="1" />
            </Columns>

    <settingspager pagesize="5">
    </settingspager>

    <settings gridlines="None" showcolumnheaders="False" />
    <styles>
        <row font-overline="False" font-strikeout="True" cursor="pointer" font-underline="False">
        </row>
        <selectedrow font-strikeout="False">
        </selectedrow>
    </styles>
</dx:aspxgridview>

<asp:XmlDataSource ID="xmlDSFiles" XPath="//File" runat="server" EnableCaching="false" Data="<Files/>" />
<dx:aspxuploadcontrol id="dxUpload" runat="server" width="280px" showaddremovebuttons="True">
</dx:aspxuploadcontrol>

